package moe.entity;


public class Post {
	public Long id;//id INTEGER NOT NULL,

	public String md5;//md5 VARCHAR(32) NOT NULL,

	//	@Column(name = "created_at")
	//	public Long createdAt;//created_at INTEGER NULL,

	public String rating;//rating VARCHAR(1) NULL,

	public Integer score;//score INTEGER NULL,

	@Column(name = "has_children")
	public Boolean hasChildren;//has_children BOOLEAN  NULL,

	@Column(name = "parent_id")
	public Long parentId;//parent_id INTEGER  NULL,

	public String author;//author NVARCHAR(100)  NULL,

	//	@Column(name = "creator_id")
	//	public Long creatorId;//creator_id INTEGER  NULL,

	public String source;//source TEXT DEFAULT NULL,

	public Integer width;//width INTEGER  NULL,

	public Integer height;//height INTEGER  NULL,

	@Column(name = "file_size")
	public Long fileSize;//file_size INTEGER  NULL,

	@Column(name = "file_url")
	public String fileUrl;//file_url TEXT NULL,

	@Column(name = "preview_width")
	public Integer previewWidth;//preview_width INTEGER NULL,

	@Column(name = "preview_height")
	public Integer previewHeight;//preview_height INTEGER NULL,

	@Column(name = "preview_url")
	public String previewUrl;//preview_url TEXT NULL,

	//	public String status;//status VARCHAR(20) NULL,

	//	public Long change;//change INTEGER NULL,

	//	@Column(name = "is_held")
	//	public Boolean isHeld;//is_held BOOLEAN NULL,

	//	@Column(name = "is_shown_in_index")
	//	public Boolean isShowInIndex;//is_shown_in_index BOOLEAN NULL,

	public String tags;//tags TEXT  NULL,

	//@Transient
	//public Integer childrenCount;
}
